#ifndef __APP_AT24C02_H__
#define __APP_AT24C02_H__

#include <stdint.h>

#include "app_nm25q128.h"

#define OTA_FLAG (0x12345678)

typedef struct
{
	uint32_t ota_flag;
	uint32_t nm25q128_part_size[NM25Q128_PART_NUM];
} at24c02_content_t;

extern at24c02_content_t at24c02_content;

uint8_t at24c02_update_content(void);
uint8_t at24c02_get_content(void);
void at24c02_test(void);

#endif /* __APP_AT24C02_H__ */